package com.zking.ssm.service;

import com.zking.ssm.model.HotelBrand;
import com.zking.ssm.utils.PageBean;
import org.springframework.transaction.annotation.Transactional;


import java.util.List;

@Transactional
public interface IHotelBrandService {//HotelBrandService  HotelBrand的service接口
    int deleteByPrimaryKey(Long id);

    int insert(HotelBrand record);

    int insertSelective(HotelBrand record);

    @Transactional(readOnly = true)
    HotelBrand selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HotelBrand record);

    int updateByPrimaryKey(HotelBrand record);

    @Transactional(readOnly = true)
    List<HotelBrand> SelectAll(HotelBrand hotelBrand, PageBean pageBean);
}